Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: skip scheduling tasks if JOBSERVICE_URL is not set #19045

Closed

Conversation

liubin
Copy link
Contributor

@liubin liubin commented Jul 27, 2023

Thank you for contributing to Harbor!

Comprehensive Summary of your change

Skip scheduling tasks if JOBSERVICE_URL is not set, this can avoid printing much error logs for about 5 minutes until health check failed.

Issue being fixed

Fixes #(issue)

Please indicate you've done the following:

  • Well Written Title and Summary of the PR
  • Label the PR as needed. "release-note/ignore-for-release, release-note/new-feature, release-note/update, release-note/enhancement, release-note/community, release-note/breaking-change, release-note/docs, release-note/infra, release-note/deprecation"
  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Made sure tests are passing and test coverage is added if needed.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed in website repository.

@liubin liubin requested a review from a team as a code owner July 27, 2023 11:43
@codecov
Copy link

codecov bot commented Jul 27, 2023

Codecov Report

Merging #19045 (18c4e2f) into main (444404f) will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #19045      +/-   ##
==========================================
- Coverage   67.41%   67.40%   -0.02%     
==========================================
  Files         993      993              
  Lines      108896   108896              
  Branches     2751     2751              
==========================================
- Hits        73413    73402      -11     
- Misses      31537    31544       +7     
- Partials     3946     3950       +4     
Flag Coverage Δ
unittests 67.40% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 5 files with indirect coverage changes

@liubin liubin force-pushed the fix/skip-if-jobservice-is-not-set branch from 20c73eb to 18c4e2f Compare August 21, 2023 11:17
@github-actions
Copy link

This PR is being marked stale due to a period of inactivty. If this PR is still relevant, please comment or remove the stale label. Otherwise, this PR will close in 30 days.

@github-actions github-actions bot added the Stale label Oct 21, 2023
Copy link

This PR was closed because it has been stalled for 30 days with no activity. If this PR is still relevant, please re-open a new PR against main.

@github-actions github-actions bot closed this Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants